package com.ruoyi.myplayer.mapper;

import com.ruoyi.myplayer.domain.PlayerYuedan;

import java.util.List;

/**
 * 乐单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public interface PlayerYuedanMapper 
{
    /**
     * 查询乐单
     * 
     * @param id 乐单主键
     * @return 乐单
     */
    public PlayerYuedan selectPlayerYuedanById(Long id);

    /**
     * 查询乐单列表
     * 
     * @param playerYuedan 乐单
     * @return 乐单集合
     */
    public List<PlayerYuedan> selectPlayerYuedanList(PlayerYuedan playerYuedan);

    /**
     * 新增乐单
     * 
     * @param playerYuedan 乐单
     * @return 结果
     */
    public int insertPlayerYuedan(PlayerYuedan playerYuedan);

    /**
     * 修改乐单
     * 
     * @param playerYuedan 乐单
     * @return 结果
     */
    public int updatePlayerYuedan(PlayerYuedan playerYuedan);

    /**
     * 删除乐单
     * 
     * @param id 乐单主键
     * @return 结果
     */
    public int deletePlayerYuedanById(Long id);

    /**
     * 批量删除乐单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePlayerYuedanByIds(Long[] ids);
}
